package com.dxiang.demo.model;

import com.fasterxml.jackson.annotation.JsonIgnore;

import javax.xml.crypto.Data;
import java.io.Serializable;
import java.util.Date;

public class CommonValue implements Serializable {
    private int id;
    private String name;

    private int parentId;
    @JsonIgnore
    private Date createDate;
    @JsonIgnore
    private Data updateDate;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Data getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Data updateDate) {
        this.updateDate = updateDate;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }
}
